<template>
	<view class="cw-load-more">
		{{text}}
	</view>
</template>

<script>
	export default {
		name:"cw-load-more",
		props: {
			status: String
		},
		computed: {
			text() {
				return {
					'more': '上拉加载更多',
					'loading': '正在加载...',
					'nomore': '没有更多数据了'
				}[this.status]
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.cw-load-more {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28rpx;
	height: 80rpx;
}
</style>
